翻訳と辞書
Words near each other
・ Algol (fanzine)
・ Algol (film)
・ Algol (magazine)
・ Algol (rocket stage)
・ ALGOL 58
・ ALGOL 60
・ ALGOL 68
・ ALGOL 68-R
・ ALGOL 68C
・ ALGOL 68RS
・ ALGOL 68S
・ ALGOL Bulletin
・ ALGOL N
・ Algol paradox
・ Algol variable
ALGOL W
・ ALGOL X
・ ALGOL Y
・ Algol-class vehicle cargo ship
・ Algolagnia
・ Algolake
・ Algolia
・ Algology
・ Algology (medicine)
・ Algolsheim
・ Algoma
・ Algoma (placename)
・ Algoma (provincial electoral district)
・ Algoma Avalanche
・ Algoma Boulevard Methodist Church


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

ALGOL W : ウィキペディア英語版
ALGOL W

ALGOL W is a programming language. It was based on a proposal for ALGOL X by Niklaus Wirth and Tony Hoare as a successor to ALGOL 60 in IFIP Working Group 2.1. When the committee decided that the proposal was not a sufficient advance over ALGOL 60, the proposal was published as ''A contribution to the development of ALGOL''.〔(Niklaus Wirth & C. A. R Hoare (1966) ) A contribution to the development of ALGOL. Communications of the ACM, Vol.9, pp. 413 - 432〕 After making small modifications to the language〔(Niklaus Wirth (1966) ), ''Additional notes on "A Contribution to the Development of ALGOL"'', ALGOL Bulletin, Number 24 pp. 13 - 17.〕 Wirth supervised a high quality implementation for the IBM/360 at Stanford University that was widely distributed.〔(Stanford Computer Science Department Technical Report CS-TR-68-89 ) (Various documents for Stanford University's 1972 implementation of ALGOL W; this report includes the ''ALGOL W Language Description''.)〕
It represented a relatively conservative modification of ALGOL 60, adding string, bitstring, complex number and reference to record datatypes and call-by-result passing of parameters, introducing the while statement, replacing switch with the case statement, and generally tightening up the language.
The implementation was written in PL/360, an ALGOL-like assembly language designed by Wirth. The implementation included influential debugging and profiling abilities.
== Syntax and semantics ==

ALGOL W's syntax is built on a subset of the EBCDIC character set. In ALGOL 60 reserved words are distinct lexical items, but in ALGOL W they are merely sequences of characters, and do not need to be stropped. Reserved words and identifiers are separated by spaces.〔 In these ways ALGOL W's syntax resembles that of Pascal and later languages.
The ''Algol W Language Description''〔(Algol W Language Description, June 1972 )〕 defines Algol W in an affix grammar that resembles BNF. This grammar was a precursor of the Van Wijngaarden grammar.〔〔Adriaan van Wijngaarden (1965), ''Orthogonal Design and Description of a Formal Language'',MR76 Mathematical Centre, Amsterdam〕
Much of Algol W's semantics is defined grammatically:〔
* Identifiers are distinguished by their definition within the current scope. For example, a ''⟨procedure identifier⟩'' is an identifier that has been defined by a procedure declaration, a ''⟨label identifier⟩'' is an identifier that is being used as a goto label.
* The types of variables and expressions are represented by affixes. For example ''⟨τ function identifier⟩'' is the syntactic entity for a function that returns a value of type ''τ'', if an identifier has been declared as an integer function in the current scope then that is expanded to ''⟨integer function identifier⟩''.
* Type errors are grammatical errors. For example "''⟨integer expression⟩ / ⟨integer expression⟩''" and "''⟨real expression⟩ / ⟨real expression⟩''" are valid but distinct syntactic entities that represent expressions, but "''⟨real expression⟩ DIV ⟨integer expression⟩''" (i.e. integer division performed on a floating-point value) is an invalid syntactic entity.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「ALGOL W」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.